<?php
namespace App\Libs\Exception;
use \App\Libs\base\Constant;
class RuntimeException extends \Exception
{

    public static function instance($code, $params= array()) {
        return new self(Constant::message($code, $params), $code);
    }
}
